/**
 * 
 */
package cn.biplam.front.page.mainpage;

import cn.biplam.common.wrapper.ErrorMessage;
import cn.biplam.common.wrapper.UserInfo;
import cn.biplam.front.component.data.common.CaptionComp;
import cn.biplam.front.html.base.HtmlWindow;
import cn.biplam.front.template.base.ButtonImage;


/**
 * Banner的消息按钮
 * @author 	WangSong
 * @version 1.0
 */
public class MessageButton{

	
	public static HtmlWindow get(UserInfo mUser,String home) throws ErrorMessage{
		HtmlWindow button=new ButtonImage(
				"button_message",
				home+"/images/message.gif"
		).get();
		button.setTitle(CaptionComp.get(mUser, "196"));

		return button;
	}

}
